@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./searchBox.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  font-family: $themeFontFamily;
  overflow-x: hidden;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

// 公用样式start
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}

// :hover::-webkit-scrollbar-thumb {
//   background: hsla(0, 0%, 53%, 0.4);
// }

// :hover::-webkit-scrollbar-track {
//   background: hsla(0, 0%, 53%, 0.1);
// }
::-webkit-scrollbar-thumb {
  background: hsla(0, 0%, 53%, 0.4);
}

::-webkit-scrollbar-track {
  background: hsla(0, 0%, 53%, 0.1);
}

.ml-20 {
  margin-left: 20px;
}
.mr-20 {
  margin-right: 20px;
}
.w50p,
.w100p {
  width: 48%;
  .el-select {
    width: 100%;
  }
  .el-date-editor {
    width: 100%;
  }
  .el-cascader {
    width: 100%;
  }
}
.w25p {
  width: 24%;
}
.w33p {
  width: 32%;
}
.w100p {
  width: 100%;
}
// 公用样式end
.zh-table-view {
  height: 100%;
  padding-bottom: 40px;
}
